<?php
	if ($id && $updatelangdb) {
		$query = "update `users` set `lang`='$lang' where `id`='$id'";
		$result = mysql_query($query);
	}
?>
